package com.bruce.learnrecycler.kotlin.model.shjt.getline;

import java.util.List;

/**
 * Created by Bruce-Home on 2015/8/30.
 */
@Deprecated
public class LineInfoDetailPojo {
    private List<Stop> stops0;

    private boolean direction0;

    private List<Stop> stops1;

    private boolean direction1;

    public static LineInfoDetailPojo convert(LineInfoDetail detail) {
        LineInfoDetailPojo pojo = new LineInfoDetailPojo();
        pojo.stops0 = detail.getStops0();
        pojo.stops1 = detail.getStops1();
        pojo.direction0 = detail.getDirection0();
        pojo.direction1 = detail.getDirection1();
        return pojo;
    }

    public List<Stop> getStops0() {
        return stops0;
    }

    public void setStops0(List<Stop> stops0) {
        this.stops0 = stops0;
    }

    public boolean isDirection0() {
        return direction0;
    }

    public void setDirection0(boolean direction0) {
        this.direction0 = direction0;
    }

    public List<Stop> getStops1() {
        return stops1;
    }

    public void setStops1(List<Stop> stops1) {
        this.stops1 = stops1;
    }

    public boolean isDirection1() {
        return direction1;
    }

    public void setDirection1(boolean direction1) {
        this.direction1 = direction1;
    }
}
